home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2003 November / PCWK1103B.iso / DesignCAD 3D Max PLUS trial 30 / DATA1.CAB / Example_Files / Sample_Macros / Window Position.d3m < prev    next >
Encoding:
Text File  |  2003-09-29  |  655 b   |  27 lines

  1. ' This simple macro illustrates window placement in DesignCAD 
  2. ' for both the input and output windows
  3. '
  4. Sys(130) = 20
  5. Sys(131) = 20
  6. Input "Enter Number", KDW$
  7.  
  8. Sys(132) = 20
  9. Sys(133) = 20
  10. Window 3,23
  11. Print KDW$
  12. AnyKey
  13.  
  14. Sys(130) = -10000 
  15. Sys(131) = -10000 
  16. Input "Enter Number", KDW2$
  17.  
  18. Sys(132) = -10000 
  19. Sys(133) = -10000 
  20. Window 3,23
  21. Print KDW2$
  22. AnyKey
  23.  
  24. '130 - Input window left boundary pixel location (-10000 to center)
  25. '131 - Input window top boundary pixel location (-10000 to center)
  26. '132 - Output window left boundary pixel location (-10000 to center)
  27. '133 - Output window left boundary pixel location (-10000 to center)